home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / amiga utilities / communication / bbs / hydrabbsa8 / docs / suggestions / system_docs < prev    next >
Encoding:
Text File  |  1997-11-21  |  790 b   |  41 lines

  1.  
  2. node lib code
  3. =============
  4.  
  5. N_ND
  6.  
  7.  
  8. serial/io
  9. console/io
  10.  
  11.  
  12. door startup
  13. ============
  14.  
  15. node 1 wants to run a door,
  16.  
  17. node 1 has it's own library (one for each node, only the global variables are not
  18. shared, all the code is)
  19.  
  20. node 1 SPAWNS a door with the first parameter being the node number, is this case 1
  21. (must be spawn as the node has to keep watching it's windows etc..)
  22.  
  23. door starts
  24.  
  25. door opens hbbscommon library and asks for bbsglobal
  26.  
  27. door opens node library
  28.  
  29. call InitNodeLibrary(BBSGlobal,NodeNum) for instance...
  30.  
  31. then for serial/console/window IO the node just carries on as normal,
  32.  
  33. door now in control..
  34.  
  35. do door stuff
  36.  
  37. door has finsihed so we need to tell the node, so send a message to the
  38. node's message port saying the door has finished.
  39.  
  40. control returns to node again..
  41.